package com.SmartCampus.system.model.dto.announcement;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级更新请求
 *
 * @author wangliang
 */
@Data
public class AnnouncementUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识
     */
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private Long id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "通知标题", required = true)
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "通知内容", required = true)
    private String content;
}